/**
 * @author 赵希奥
 * @date 2022/4/20 17:27
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        String statement = "0 or 1 and 1 or 1";
        Context ctx = new Context();
        ctx.parse(statement);
        int result = ctx.execute();
        System.out.println(statement + " = " + result);
    }
}
